package com.mopoba.app;

import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListAdapter;

/**
 * 在线配置页
 * 
 * @author Yichou
 * 
 */
public class OnlineGridFragment extends BaseGridFragment {

	@Override
	public void onItemClick(AdapterView<?> parent, View view, int position, long id) {

	}

	int itemCount;

	@Override
	protected ListAdapter onCreateAdapter() {
		Bundle b = getArguments();
		itemCount = b.getInt("itemCount");

		return new MyAdapter(getActivity());
	}

	private class MyAdapter extends BaseGridAdapter {

		public MyAdapter(Context context) {
			super(context);
		}

		@Override
		public int getCount() {
			return itemCount;
		}

		@Override
		protected Bitmap getItemImage(int index) {
			return null;
		}

		@Override
		protected Bitmap getItemBg(int index) {
			return null;
		}

		@Override
		protected String getItemTitle(int index) {
			return null;
		}
	}
}
